package models

type JoinMsg struct {
	User string `json:"user" orm:"column(user);unique"`
	Room string `json:"room" orm:"column(action);unique;size(100);"`
}

type ActionMSG struct {
	Room string `json:"room" orm:"column(action);unique;size(100);"`
	Data string `json:"data" orm:"column(data);size(300)"`
}

type WsOutputMSG struct {
	User   string `json:"user" orm:"column(user);unique"`
	Action string `json:"action" orm:"column(action);size(300)"`
	Data   string `json:"data" orm:"column(data);size(300)"`
}
